package com.zycloud;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;


@EnableDubbo
@SpringBootApplication
@PropertySource(value = {"classpath:/provider-config.properties", "classpath:/consumer-config.properties"})
public class ZycloudProviderUserApplication {

    public static void main(String[] args) {
        /*AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();
        context.register(ZycloudProviderUserApplication.class);
        context.refresh();
        context.close();*/
        SpringApplication.run(ZycloudProviderUserApplication.class, args);

    }

}

